package com.restkeeper;

import com.restkeeper.entity.DishEs;
import com.restkeeper.entity.SearchResult;

public interface IDishSearchService{
    SearchResult<DishEs> searchAllByCode(String code, int type, int pageNo, int pageSize) throws Exception;
    SearchResult<DishEs> searchDishByCode(String code, int pageNo, int pageSize) throws Exception;
    SearchResult<DishEs> searchDishByName(String name,int type,int pageNo,int pageSize) throws Exception;
}
